const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: { 
    proxy: {
      '/hello': {
        target: 'http://localhost:3000',
        secure: true,
        changOrigin: true,//允许跨域
        pathRewrite: {
          '^/hello': ''
        }
      }

    }
  }
})
